using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace HKB.Data.Dal
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(true), System.Xml.Serialization.XmlRoot("Shop_Invoice"), System.Xml.Serialization.XmlSchemaProvider("GetTypedDataSetSchema")]
	[System.Serializable]
	public class Shop_Invoice : DataSet
	{
		public delegate void HLShop_InvoiceItemRowChangeEventHandler(object sender, Shop_Invoice.HLShop_InvoiceItemRowChangeEvent e);
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), System.Xml.Serialization.XmlSchemaProvider("GetTypedTableSchema")]
		[System.Serializable]
		public class HLShop_InvoiceItemDataTable : DataTable, System.Collections.IEnumerable
		{
			private DataColumn columnInvoiceID;
			private DataColumn columnUserID;
			private DataColumn columnSalerID;
			private DataColumn columnOrderFormID;
			private DataColumn columnInvoiceType;
			private DataColumn columnInvoiceNum;
			private DataColumn columnInvoiceTitle;
			private DataColumn columnInvoiceContent;
			private DataColumn columnInvoiceDate;
			private DataColumn columnTotalMoney;
			private DataColumn columnDrawer;
			private DataColumn columnInputer;
			private DataColumn columnInputTime;
			public event Shop_Invoice.HLShop_InvoiceItemRowChangeEventHandler HLShop_InvoiceItemRowChanging;
			public event Shop_Invoice.HLShop_InvoiceItemRowChangeEventHandler HLShop_InvoiceItemRowChanged;
			public event Shop_Invoice.HLShop_InvoiceItemRowChangeEventHandler HLShop_InvoiceItemRowDeleting;
			public event Shop_Invoice.HLShop_InvoiceItemRowChangeEventHandler HLShop_InvoiceItemRowDeleted;
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceIDColumn
			{
				get
				{
					return this.columnInvoiceID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn UserIDColumn
			{
				get
				{
					return this.columnUserID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn SalerIDColumn
			{
				get
				{
					return this.columnSalerID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn OrderFormIDColumn
			{
				get
				{
					return this.columnOrderFormID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceTypeColumn
			{
				get
				{
					return this.columnInvoiceType;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceNumColumn
			{
				get
				{
					return this.columnInvoiceNum;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceTitleColumn
			{
				get
				{
					return this.columnInvoiceTitle;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceContentColumn
			{
				get
				{
					return this.columnInvoiceContent;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InvoiceDateColumn
			{
				get
				{
					return this.columnInvoiceDate;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn TotalMoneyColumn
			{
				get
				{
					return this.columnTotalMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn DrawerColumn
			{
				get
				{
					return this.columnDrawer;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InputerColumn
			{
				get
				{
					return this.columnInputer;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn InputTimeColumn
			{
				get
				{
					return this.columnInputTime;
				}
			}
			[Browsable(false), System.Diagnostics.DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public Shop_Invoice.HLShop_InvoiceItemRow this[int index]
			{
				get
				{
					return (Shop_Invoice.HLShop_InvoiceItemRow)base.Rows[index];
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_InvoiceItemDataTable()
			{
				base.TableName = "HLShop_InvoiceItem";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_InvoiceItemDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected HLShop_InvoiceItemDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void AddHLShop_InvoiceItemRow(Shop_Invoice.HLShop_InvoiceItemRow row)
			{
				base.Rows.Add(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public Shop_Invoice.HLShop_InvoiceItemRow AddHLShop_InvoiceItemRow(int UserID, string SalerID, int OrderFormID, int InvoiceType, string InvoiceNum, string InvoiceTitle, string InvoiceContent, System.DateTime InvoiceDate, decimal TotalMoney, string Drawer, string Inputer, System.DateTime InputTime)
			{
				Shop_Invoice.HLShop_InvoiceItemRow hLShop_InvoiceItemRow = (Shop_Invoice.HLShop_InvoiceItemRow)base.NewRow();
				hLShop_InvoiceItemRow.ItemArray = new object[]
				{
					null,
					UserID,
					SalerID,
					OrderFormID,
					InvoiceType,
					InvoiceNum,
					InvoiceTitle,
					InvoiceContent,
					InvoiceDate,
					TotalMoney,
					Drawer,
					Inputer,
					InputTime
				};
				base.Rows.Add(hLShop_InvoiceItemRow);
				return hLShop_InvoiceItemRow;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public Shop_Invoice.HLShop_InvoiceItemRow FindByInvoiceID(int InvoiceID)
			{
				return (Shop_Invoice.HLShop_InvoiceItemRow)base.Rows.Find(new object[]
				{
					InvoiceID
				});
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public virtual System.Collections.IEnumerator GetEnumerator()
			{
				return base.Rows.GetEnumerator();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public override DataTable Clone()
			{
				Shop_Invoice.HLShop_InvoiceItemDataTable hLShop_InvoiceItemDataTable = (Shop_Invoice.HLShop_InvoiceItemDataTable)base.Clone();
				hLShop_InvoiceItemDataTable.InitVars();
				return hLShop_InvoiceItemDataTable;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new Shop_Invoice.HLShop_InvoiceItemDataTable();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnInvoiceID = base.Columns["InvoiceID"];
				this.columnUserID = base.Columns["UserID"];
				this.columnSalerID = base.Columns["SalerID"];
				this.columnOrderFormID = base.Columns["OrderFormID"];
				this.columnInvoiceType = base.Columns["InvoiceType"];
				this.columnInvoiceNum = base.Columns["InvoiceNum"];
				this.columnInvoiceTitle = base.Columns["InvoiceTitle"];
				this.columnInvoiceContent = base.Columns["InvoiceContent"];
				this.columnInvoiceDate = base.Columns["InvoiceDate"];
				this.columnTotalMoney = base.Columns["TotalMoney"];
				this.columnDrawer = base.Columns["Drawer"];
				this.columnInputer = base.Columns["Inputer"];
				this.columnInputTime = base.Columns["InputTime"];
			}
			[System.Diagnostics.DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnInvoiceID = new DataColumn("InvoiceID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceID);
				this.columnUserID = new DataColumn("UserID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnUserID);
				this.columnSalerID = new DataColumn("SalerID", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnSalerID);
				this.columnOrderFormID = new DataColumn("OrderFormID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnOrderFormID);
				this.columnInvoiceType = new DataColumn("InvoiceType", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceType);
				this.columnInvoiceNum = new DataColumn("InvoiceNum", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceNum);
				this.columnInvoiceTitle = new DataColumn("InvoiceTitle", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceTitle);
				this.columnInvoiceContent = new DataColumn("InvoiceContent", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceContent);
				this.columnInvoiceDate = new DataColumn("InvoiceDate", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnInvoiceDate);
				this.columnTotalMoney = new DataColumn("TotalMoney", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnTotalMoney);
				this.columnDrawer = new DataColumn("Drawer", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnDrawer);
				this.columnInputer = new DataColumn("Inputer", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnInputer);
				this.columnInputTime = new DataColumn("InputTime", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnInputTime);
				base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[]
				{
					this.columnInvoiceID
				}, true));
				this.columnInvoiceID.AutoIncrement = true;
				this.columnInvoiceID.AllowDBNull = false;
				this.columnInvoiceID.ReadOnly = true;
				this.columnInvoiceID.Unique = true;
				this.columnSalerID.MaxLength = 50;
				this.columnInvoiceNum.MaxLength = 50;
				this.columnInvoiceTitle.MaxLength = 50;
				this.columnInvoiceContent.MaxLength = 1073741823;
				this.columnDrawer.MaxLength = 50;
				this.columnInputer.MaxLength = 50;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public Shop_Invoice.HLShop_InvoiceItemRow NewHLShop_InvoiceItemRow()
			{
				return (Shop_Invoice.HLShop_InvoiceItemRow)base.NewRow();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new Shop_Invoice.HLShop_InvoiceItemRow(builder);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override System.Type GetRowType()
			{
				return typeof(Shop_Invoice.HLShop_InvoiceItemRow);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.HLShop_InvoiceItemRowChanged != null)
				{
					this.HLShop_InvoiceItemRowChanged(this, new Shop_Invoice.HLShop_InvoiceItemRowChangeEvent((Shop_Invoice.HLShop_InvoiceItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.HLShop_InvoiceItemRowChanging != null)
				{
					this.HLShop_InvoiceItemRowChanging(this, new Shop_Invoice.HLShop_InvoiceItemRowChangeEvent((Shop_Invoice.HLShop_InvoiceItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.HLShop_InvoiceItemRowDeleted != null)
				{
					this.HLShop_InvoiceItemRowDeleted(this, new Shop_Invoice.HLShop_InvoiceItemRowChangeEvent((Shop_Invoice.HLShop_InvoiceItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.HLShop_InvoiceItemRowDeleting != null)
				{
					this.HLShop_InvoiceItemRowDeleting(this, new Shop_Invoice.HLShop_InvoiceItemRowChangeEvent((Shop_Invoice.HLShop_InvoiceItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void RemoveHLShop_InvoiceItemRow(Shop_Invoice.HLShop_InvoiceItemRow row)
			{
				base.Rows.Remove(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
			{
				System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
				System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
				Shop_Invoice shop_Invoice = new Shop_Invoice();
				xs.Add(shop_Invoice.GetSchemaSerializable());
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny2 = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = shop_Invoice.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute2 = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "HLShop_InvoiceItemDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				return xmlSchemaComplexType;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_InvoiceItemRow : DataRow
		{
			private Shop_Invoice.HLShop_InvoiceItemDataTable tableHLShop_InvoiceItem;
			[System.Diagnostics.DebuggerNonUserCode]
			public int InvoiceID
			{
				get
				{
					return (int)base[this.tableHLShop_InvoiceItem.InvoiceIDColumn];
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int UserID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_InvoiceItem.UserIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“UserID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.UserIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string SalerID
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.SalerIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“SalerID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.SalerIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int OrderFormID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_InvoiceItem.OrderFormIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“OrderFormID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.OrderFormIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int InvoiceType
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHLShop_InvoiceItem.InvoiceTypeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InvoiceType”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceTypeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string InvoiceNum
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.InvoiceNumColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InvoiceNum”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceNumColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string InvoiceTitle
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.InvoiceTitleColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InvoiceTitle”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceTitleColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string InvoiceContent
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.InvoiceContentColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InvoiceContent”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceContentColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime InvoiceDate
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHLShop_InvoiceItem.InvoiceDateColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InvoiceDate”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InvoiceDateColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal TotalMoney
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHLShop_InvoiceItem.TotalMoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“TotalMoney”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.TotalMoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string Drawer
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.DrawerColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“Drawer”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.DrawerColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string Inputer
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHLShop_InvoiceItem.InputerColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“Inputer”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InputerColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime InputTime
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHLShop_InvoiceItem.InputTimeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HLShop_InvoiceItem”中列“InputTime”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHLShop_InvoiceItem.InputTimeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HLShop_InvoiceItemRow(DataRowBuilder rb) : base(rb)
			{
				this.tableHLShop_InvoiceItem = (Shop_Invoice.HLShop_InvoiceItemDataTable)base.Table;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsUserIDNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.UserIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetUserIDNull()
			{
				base[this.tableHLShop_InvoiceItem.UserIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsSalerIDNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.SalerIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetSalerIDNull()
			{
				base[this.tableHLShop_InvoiceItem.SalerIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsOrderFormIDNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.OrderFormIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetOrderFormIDNull()
			{
				base[this.tableHLShop_InvoiceItem.OrderFormIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInvoiceTypeNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InvoiceTypeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInvoiceTypeNull()
			{
				base[this.tableHLShop_InvoiceItem.InvoiceTypeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInvoiceNumNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InvoiceNumColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInvoiceNumNull()
			{
				base[this.tableHLShop_InvoiceItem.InvoiceNumColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInvoiceTitleNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InvoiceTitleColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInvoiceTitleNull()
			{
				base[this.tableHLShop_InvoiceItem.InvoiceTitleColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInvoiceContentNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InvoiceContentColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInvoiceContentNull()
			{
				base[this.tableHLShop_InvoiceItem.InvoiceContentColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInvoiceDateNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InvoiceDateColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInvoiceDateNull()
			{
				base[this.tableHLShop_InvoiceItem.InvoiceDateColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsTotalMoneyNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.TotalMoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetTotalMoneyNull()
			{
				base[this.tableHLShop_InvoiceItem.TotalMoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsDrawerNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.DrawerColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetDrawerNull()
			{
				base[this.tableHLShop_InvoiceItem.DrawerColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInputerNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InputerColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInputerNull()
			{
				base[this.tableHLShop_InvoiceItem.InputerColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsInputTimeNull()
			{
				return base.IsNull(this.tableHLShop_InvoiceItem.InputTimeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetInputTimeNull()
			{
				base[this.tableHLShop_InvoiceItem.InputTimeColumn] = System.Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HLShop_InvoiceItemRowChangeEvent : System.EventArgs
		{
			private Shop_Invoice.HLShop_InvoiceItemRow eventRow;
			private DataRowAction eventAction;
			[System.Diagnostics.DebuggerNonUserCode]
			public Shop_Invoice.HLShop_InvoiceItemRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HLShop_InvoiceItemRowChangeEvent(Shop_Invoice.HLShop_InvoiceItemRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private Shop_Invoice.HLShop_InvoiceItemDataTable tableHLShop_InvoiceItem;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.Diagnostics.DebuggerNonUserCode]
		public Shop_Invoice.HLShop_InvoiceItemDataTable HLShop_InvoiceItem
		{
			get
			{
				return this.tableHLShop_InvoiceItem;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), System.Diagnostics.DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public Shop_Invoice()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected Shop_Invoice(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
					if (dataSet.Tables["HLShop_InvoiceItem"] != null)
					{
						base.Tables.Add(new Shop_Invoice.HLShop_InvoiceItemDataTable(dataSet.Tables["HLShop_InvoiceItem"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public override DataSet Clone()
		{
			Shop_Invoice shop_Invoice = (Shop_Invoice)base.Clone();
			shop_Invoice.InitVars();
			shop_Invoice.SchemaSerializationMode = this.SchemaSerializationMode;
			return shop_Invoice;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void ReadXmlSerializable(System.Xml.XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["HLShop_InvoiceItem"] != null)
				{
					base.Tables.Add(new Shop_Invoice.HLShop_InvoiceItemDataTable(dataSet.Tables["HLShop_InvoiceItem"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override System.Xml.Schema.XmlSchema GetSchemaSerializable()
		{
			System.IO.MemoryStream memoryStream = new System.IO.MemoryStream();
			base.WriteXmlSchema(new System.Xml.XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(memoryStream), null);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableHLShop_InvoiceItem = (Shop_Invoice.HLShop_InvoiceItemDataTable)base.Tables["HLShop_InvoiceItem"];
			if (initTable)
			{
				if (this.tableHLShop_InvoiceItem != null)
				{
					this.tableHLShop_InvoiceItem.InitVars();
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "Shop_Invoice";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/Shop_Invoice.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableHLShop_InvoiceItem = new Shop_Invoice.HLShop_InvoiceItemDataTable();
			base.Tables.Add(this.tableHLShop_InvoiceItem);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private bool ShouldSerializeHLShop_InvoiceItem()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
		{
			Shop_Invoice shop_Invoice = new Shop_Invoice();
			System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
			System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
			xs.Add(shop_Invoice.GetSchemaSerializable());
			System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
			xmlSchemaAny.Namespace = shop_Invoice.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			return xmlSchemaComplexType;
		}
	}
}
